/*
 * @Author: zhanglianchang
 * @Date: 2020-08-01 14:39:32
 * @Last Modified by: taoshiwei
 * @Last Modified time: 2019-04-29 14:49:44
 *
 * 题库有关的接口：自己写吧~~  已经被张老师删了 ^_^
 */
import { createAPI } from '@/utils/request'
// 目录列表
export const getBaseQuestions = data => createAPI(`/questions/?${data.page}`, 'get', data)
// 题目详情
export const getQuestionDetials = data => createAPI(`/questions/${data.id}`, 'get', data)
// 删除题目
export const delQuestionDetails = data => createAPI(`/questions/${data.id}`, 'delete', data)
// 学科
export const getSubject = data => createAPI('/subjects', 'get', data)
// --------------
// 目录
export const getCatalogue = data => createAPI('/directorys', 'get', data)

// 企业
export const getEnterprise = data => createAPI('/companys', 'get', data)

// 方向
export const getDirection = data => createAPI('/questions', 'get', data)

export const getTags = data => createAPI('/tags', 'get', data)
